Repository navigation
docs(groups): describe in-sheet Undo for revoked invite links - #16
Merged
Merged
Conversation
Co-authored-by: Ferrin <[email protected]> Co-authored-by: noorelmosrati <[email protected]>
musa-kal
force-pushed
the
docs/dogfood-3
branch
from
November 16, 2026 17:56
7d6e01e to
5603323
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Update the guide's invite page for potluck PR #43: revoking a link leaves "Invite revoked. That link is closed." in that link's place in the sheet with an Undo button (one tap, reachable by keyboard, one per revoked link); if the sheet is closed first, a message pops up for a few seconds with Undo. Every claim must match potluck origin/main.
What Changed
src/content/docs/groups/invites.mdx. After you revoke a link, its place in the sheet reads Invite revoked. That link is closed. with an Undo button for a few seconds, and one tap brings the link back.🤖 Generated with Claude Code
Risk Assessment
✅ Low: This is a one-paragraph docs change, and every claim in it matches potluck main: the 'Invite revoked. That link is closed.' string (en/groups.ts:254), the Undo button inside each RevokedNote, the 8 s UNDO_MS window, focus moving to Undo on mount, and the close-time toast with duration UNDO_MS for undoable revokes when inSheet is set.
Testing
Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
🔧 **Review** - 2 issues found → auto-fixed ✅
src/content/docs/groups/invites.mdx:62- The changed paragraph says the link's place 'now reads Invite revoked. That link is closed. with an Undo button next to it' and gives no time limit. The old text did have one ('It stays up for a few seconds'), and this edit removed it. On potluck main, apps/web/src/features/invites/invite-sheet.tsx:38 sets UNDO_MS = 8000. The effect at lines 188-196 removes each RevokedNote onceuntilpasses, and the close-time toast (lines 212-221) only covers revokes still inundoable. So a user who revokes a link, waits more than 8 s and then looks for Undo in the sheet finds nothing, and closing the sheet after that shows no toast either. That contradicts the doc and the intent's 'every claim must match potluck origin/main'. Fix: say the note and its Undo stay for a few seconds, and tie the toast sentence to that window, e.g. '...with an Undo button next to it for a few seconds. One tap brings the link back. If you close the sheet before then, the same message pops up for a few seconds with Undo.'src/content/docs/groups/invites.mdx:62- The intent describes the inline Undo as '(one tap, reachable by keyboard, one per revoked link)'. The new text covers 'one tap', and 'the link's place' implies one note per link. It never mentions keyboard use. On main, RevokedNote moves focus to its Undo button when it appears (invite-sheet.tsx:420-422, 'focus lands here and a keyboard user can undo straight away'), so a keyboard user can press Enter right after revoking. Confirm whether the intent's 'reachable by keyboard' must be stated on the page (e.g. 'Using a keyboard? Focus moves to Undo, so press Enter.') or was only describing the app's behavior.🔧 Fix applied.
✅ Re-checked - no issues remain.
⏭️ **Test** - skipped
Step was skipped.
✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.